import {
  Category1ListItem,
  Category2ListItem,
  Category3ListItem,
} from "@/api/product/modules/categoryModules";
import type { RouteRecordRaw } from "vue-router";

// 用户信息包括权限数据
export interface UserInfoState {
  token: string;
  avatar: string;
  name: string;

  menuRoutes: RouteRecordRaw[]; // 用于生成导航菜单的路由列表
}

// 分类列表数据接口
export interface CategoryStore {
  category1List: Category1ListItem[];
  category2List: Category2ListItem[];
  category3List: Category3ListItem[];
  category1Id?: number;
  category2Id?: number;
  category3Id?: number;
}
